package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.WmMaterialDto;
import com.heima.model.wemedia.pojos.WmMaterial;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author rookie001
 * @creat 2023-06-07-16:58
 */
public interface WmMaterialService extends IService<WmMaterial> {
    //图片上传
    ResponseResult uploadPicture(MultipartFile multipartFile);

    //素材列表查询
    ResponseResult findList(WmMaterialDto wmMaterialDto);

    //删除图片
    ResponseResult delectPc(Integer id);

    //收藏图片
    ResponseResult collect(Integer id);
}
